﻿/******************************************************************************
 *  作者：       scott
 *  创建时间：   2012/3/3 15:34:30
 *
 *
 ******************************************************************************/
using System;
using System.Collections.Generic;

namespace EasyMvcBlog.Data
{
    public class Article
    {
        public virtual int Id { get; set; }

        public virtual string Title { get; set; }
        public virtual string Content { get; set; }
        public virtual IList<Tag> Tags { get; set; }
        public virtual Category Category { get; set; }
        public virtual DateTime CreateTime { get; set; }
        public virtual DateTime ChangedTime { get; set; }
        /// <summary>
        /// 文章简介
        /// </summary>
        public virtual string ShortDesc { get; set; }
        
        /// <summary>
        /// 文章对游客是否可见
        /// </summary>
        public virtual bool IsVisitorVisible { get; set; }
        
        /// <summary>
        /// 禁止评论
        /// </summary>
        public virtual bool DenyComment { get; set; }

    }

}
